From db569cbee7e3842d802c5f1d53e28d0dde98ffeb Mon Sep 17 00:00:00 2001 From: Carlos Garnacho Date: Wed, 27 Jun 2012 14:51:57 +0200 Subject: [PATCH] introspection: mark data in GtkCallback as closure This is needed for so GtkContainer::forall() can be implemented in non-native code, and the callback gets the passed data if called. https://bugzilla.gnome.org/show_bug.cgi?id=644926#c28 --- gtk/gtkwidget.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtkwidget.h b/gtk/gtkwidget.h index 94189dd97b..576d7e91b9 100644 --- a/gtk/gtkwidget.h +++ b/gtk/gtkwidget.h @@ -78,7 +78,7 @@ typedef GdkRectangle GtkAllocation; /** * GtkCallback: * @widget: the widget to operate on - * @data: user-supplied data + * @data: (closure): user-supplied data * * The type of the callback functions used for e.g. iterating over * the children of a container, see gtk_container_foreach(). -- 2.30.2